package cn.bxshey.modules_order;

import cn.bxshey.feign.api.UserClient;
import cn.bxshey.feign.config.FeignHeaderConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@ComponentScan(basePackages = {"cn.bxshey"})
@EnableFeignClients(clients = UserClient.class,defaultConfiguration = FeignHeaderConfig.class)
public class ModulesOrdersApplication {

    public static void main(String[] args) {
        SpringApplication.run(ModulesOrdersApplication.class, args);
    }

}
